home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-09-22 | 9.5 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| TTComp Archive (archive/ttcomp)
| fallback
| Supported |
100%
| file
| TTComp archive data, binary, 2K dictionary
| default (weak)
| |
99%
| file
| data
| default
| |
66%
| TrID
| TTComp archive compressed (bin-2K)
| default (weak)
| |
33%
| TrID
| Adobe PhotoShop Brush
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 20 00 00 00 00 00 00 | 00 20 61 31 37 36 00 00 |. ......|. a176..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 06 43 54 45 4e 65 | 77 00 00 06 00 00 00 00 |...CTENe|w.......|
|00000060| 00 f8 00 00 00 00 00 00 | 00 f8 00 00 00 14 03 c1 |........|........|
|00000070| 00 28 05 7e 00 ff 00 00 | 00 00 00 00 0f a8 00 00 |.(.~....|........|
|00000080| 00 00 4e 1c 00 00 00 09 | 00 00 00 04 00 04 ff fc |..N.....|........|
|00000090| ff fa 00 04 00 04 ff fc | ff fc 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 83 00 0b 40 10 6b | 53 63 72 65 65 6e 41 50 |.....@.k|ScreenAP|
|000000b0| 49 2f 31 39 39 39 36 00 | 06 47 65 6e 65 76 61 00 |I/19996.|.Geneva.|
|000000c0| 00 9e 4f 53 45 72 72 20 | 43 54 45 4e 65 77 28 73 |..OSErr |CTENew(s|
|000000d0| 68 6f 72 74 20 76 69 65 | 77 49 44 2c 20 42 6f 6f |hort vie|wID, Boo|
|000000e0| 6c 65 61 6e 20 76 69 73 | 2c 20 57 69 6e 64 6f 77 |lean vis|, Window|
|000000f0| 50 74 72 20 77 69 6e 64 | 6f 77 2c 20 54 45 48 61 |Ptr wind|ow, TEHa|
|00000100| 6e 64 6c 65 20 2a 74 65 | 48 6e 64 6c 2c 20 52 65 |ndle *te|Hndl, Re|
|00000110| 63 74 20 2a 63 52 65 63 | 74 2c 20 52 65 63 74 20 |ct *cRec|t, Rect |
|00000120| 2a 64 52 65 63 74 2c 20 | 52 65 63 74 20 2a 76 52 |*dRect, |Rect *vR|
|00000130| 65 63 74 2c 20 52 65 63 | 74 20 2a 62 52 65 63 74 |ect, Rec|t *bRect|
|00000140| 2c 20 73 68 6f 72 74 20 | 6d 61 78 54 65 78 74 4c |, short |maxTextL|
|00000150| 65 6e 2c 20 73 68 6f 72 | 74 20 6d 6f 64 65 29 3b |en, shor|t mode);|
|00000160| 00 00 00 06 00 00 00 00 | 00 7c 00 00 00 00 00 00 |........|.|......|
|00000170| 00 7c 00 00 00 00 03 c1 | 00 14 05 7e 00 ff 00 00 |.|......|...~....|
|00000180| 00 00 00 00 0f a8 00 00 | 00 00 4e 1d 00 00 00 09 |........|..N.....|
|00000190| 00 00 00 04 00 04 ff fc | ff fa 00 04 00 04 ff fc |........|........|
|000001a0| ff fc 00 00 00 00 00 00 | 00 00 83 00 0b 40 14 6b |........|.....@.k|
|000001b0| 53 63 72 65 65 6e 4f 6e | 65 4c 69 6e 65 2f 31 39 |ScreenOn|eLine/19|
|000001c0| 39 39 37 00 06 47 65 6e | 65 76 61 00 00 1e 43 72 |997..Gen|eva...Cr|
|000001d0| 65 61 74 65 20 61 20 6e | 65 77 20 54 65 78 74 45 |eate a n|ew TextE|
|000001e0| 64 69 74 20 63 6f 6e 74 | 72 6f 6c 2e 00 00 00 06 |dit cont|rol.....|
|000001f0| 00 00 00 00 00 44 00 00 | 00 00 00 00 00 44 00 00 |.....D..|.....D..|
|00000200| 00 00 02 6b 04 40 02 6c | 01 00 00 00 00 00 00 01 |...k.@.l|........|
|00000210| 0f f1 00 00 00 00 00 00 | 00 00 00 0c 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 06 00 00 00 00 | 01 02 00 00 00 00 00 00 |........|........|
|00000250| 01 02 00 00 00 00 02 6b | 02 28 03 c1 00 ff 00 00 |.......k|.(......|
|00000260| 00 00 00 00 0f a8 00 00 | 00 00 4e 16 00 00 00 09 |........|..N.....|
|00000270| 00 00 00 04 00 04 ff fc | ff fa 00 04 00 04 ff fc |........|........|
|00000280| ff fc 00 00 00 00 00 00 | 00 00 83 00 0b 40 0b 6c |........|.....@.l|
|00000290| 69 6e 6b 73 2f 31 39 39 | 39 30 00 06 4d 6f 6e 61 |inks/199|90..Mona|
|000002a0| 63 6f 00 00 97 61 31 36 | 31 2c 43 54 45 43 6c 69 |co...a16|1,CTECli|
|000002b0| 63 6b 0d 61 31 36 33 2c | 43 54 45 43 6c 69 70 62 |ck.a163,|CTEClipb|
|000002c0| 6f 61 72 64 0d 61 31 36 | 36 2c 43 54 45 44 69 73 |oard.a16|6,CTEDis|
|000002d0| 70 6f 73 65 0d 61 31 36 | 39 2c 43 54 45 45 64 69 |pose.a16|9,CTEEdi|
|000002e0| 74 4d 65 6e 75 0d 61 31 | 36 41 2c 43 54 45 45 76 |tMenu.a1|6A,CTEEv|
|000002f0| 65 6e 74 0d 61 31 37 34 | 2c 43 54 45 4b 65 79 0d |ent.a174|,CTEKey.|
|00000300| 61 31 37 36 2c 43 54 45 | 4e 65 77 0d 61 31 38 38 |a176,CTE|New.a188|
|00000310| 2c 43 54 45 55 6e 64 6f | 0d 61 31 38 42 2c 43 54 |,CTEUndo|.a18B,CT|
|00000320| 45 56 69 65 77 46 72 6f | 6d 54 45 0d 61 32 35 42 |EViewFro|mTE.a25B|
|00000330| 2c 49 73 43 74 6c 45 76 | 65 6e 74 0d 00 16 00 01 |,IsCtlEv|ent.....|
|00000340| 00 00 00 00 00 10 00 0c | 00 01 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 06 00 00 | 00 00 22 ae 00 00 00 00 |........|..".....|
|00000360| 00 00 22 ae 00 00 00 00 | 00 00 75 30 02 6b 01 ff |..".....|..u0.k..|
|00000370| 00 00 00 00 00 00 0f a8 | 00 00 00 00 4e 1f 00 00 |........|....N...|
|00000380| 00 09 00 00 00 04 00 04 | ff fc ff fa 00 04 00 04 |........|........|
|00000390| ff fc ff fc 00 00 00 00 | 00 00 00 00 83 00 0b 40 |........|.......@|
|000003a0| 0a 62 6f 64 79 2f 31 39 | 39 39 39 00 06 4d 6f 6e |.body/19|999..Mon|
|000003b0| 61 63 6f 00 20 14 4f 53 | 45 72 72 20 43 54 45 4e |aco. .OS|Err CTEN|
|000003c0| 65 77 28 73 68 6f 72 74 | 20 76 69 65 77 49 44 2c |ew(short| viewID,|
|000003d0| 20 42 6f 6f 6c 65 61 6e | 20 76 69 73 2c 20 57 69 | Boolean| vis, Wi|
|000003e0| 6e 64 6f 77 50 74 72 20 | 77 69 6e 64 6f 77 2c 20 |ndowPtr |window, |
|000003f0| 54 45 48 61 6e 64 6c 65 | 20 2a 74 65 48 6e 64 6c |TEHandle| *teHndl|
|00000400| 2c 20 52 65 63 74 20 2a | 63 52 65 63 74 2c 20 52 |, Rect *|cRect, R|
|00000410| 65 63 74 20 2a 64 52 65 | 63 74 2c 20 52 65 63 74 |ect *dRe|ct, Rect|
|00000420| 20 2a 76 52 65 63 74 2c | 20 52 65 63 74 20 2a 62 | *vRect,| Rect *b|
|00000430| 52 65 63 74 2c 20 73 68 | 6f 72 74 20 6d 61 78 54 |Rect, sh|ort maxT|
|00000440| 65 78 74 4c 65 6e 2c 20 | 73 68 6f 72 74 20 6d 6f |extLen, |short mo|
|00000450| 64 65 29 3b 0d 0d 20 20 | 20 20 46 69 6c 65 3a 20 |de);.. | File: |
|00000460| 54 65 78 74 45 64 69 74 | 43 6f 6e 74 72 6f 6c 2e |TextEdit|Control.|
|00000470| 68 0d 0d 49 4e 50 55 54 | 3a 20 20 76 69 65 77 49 |h..INPUT|: viewI|
|00000480| 44 20 20 20 20 20 20 52 | 65 73 6f 75 72 63 65 20 |D R|esource |
|00000490| 6e 75 6d 62 65 72 20 6f | 66 20 74 68 65 20 73 74 |number o|f the st|
|000004a0| 75 62 20 43 44 45 46 2e | 0d 20 20 20 20 20 20 20 |ub CDEF.|. |
|000004b0| 20 76 69 73 20 20 20 20 | 20 20 20 20 20 43 72 65 | vis | Cre|
|000004c0| 61 74 65 20 63 6f 6e 74 | 72 6f 6c 20 69 6e 69 74 |ate cont|rol init|
|000004d0| 69 61 6c 6c 79 20 76 69 | 73 69 62 6c 65 2e 0d 20 |ially vi|sible.. |
|000004e0| 20 20 20 20 20 20 20 77 | 69 6e 64 6f 77 20 20 20 | w|indow |
|000004f0| 20 20 20 43 72 65 61 74 | 65 20 63 6f 6e 74 72 6f | Creat|e contro|
|00000500| 6c 20 69 6e 74 6f 20 74 | 68 69 73 20 77 69 6e 64 |l into t|his wind|
|00000510| 6f 77 2e 0d 20 20 20 20 | 20 20 20 20 63 52 65 63 |ow.. | cRec|
|00000520| 74 20 20 20 20 20 20 20 | 50 6f 69 6e 74 65 72 20 |t |Pointer |
|00000530| 74 6f 20 72 65 63 74 20 | 66 6f 72 20 54 65 78 74 |to rect |for Text|
|00000540| 45 64 69 74 20 63 6f 6e | 74 72 6f 6c 20 76 69 65 |Edit con|trol vie|
|00000550| 77 20 72 65 63 74 2e 0d | 20 20 20 20 20 20 20 20 |w rect..| |
|00000560| 64 52 65 63 74 20 20 20 | 20 20 20 20 50 6f 69 6e |dRect | Poin|
|00000570| 74 65 72 20 74 6f 20 72 | 65 63 74 20 66 6f 72 20 |ter to r|ect for |
|00000580| 54 65 78 74 45 64 69 74 | 20 64 65 73 74 52 65 63 |TextEdit| destRec|
|00000590| 74 2e 0d 20 20 20 20 20 | 20 20 20 76 52 65 63 74 |t.. | vRect|
|000005a0| 20 20 20 20 20 20 20 50 | 6f 69 6e 74 65 72 20 74 | P|ointer t|
|000005b0| 6f 20 72 65 63 74 20 66 | 6f 72 20 54 65 78 74 45 |o rect f|or TextE|
|000005c0| 64 69 74 20 76 69 65 77 | 52 65 63 74 2e 0d 20 20 |dit view|Rect.. |
|000005d0| 20 20 20 20 20 20 62 52 | 65 63 74 20 20 20 20 20 | bR|ect |
|000005e0| 20 20 50 6f 69 6e 74 65 | 72 20 74 6f 20 72 65 63 | Pointe|r to rec|
|000005f0| 74 20 66 6f 72 20 54 65 | 78 74 45 64 69 74 20 63 |t for Te|xtEdit c|
|00000600| 6f 6e 74 72 6f 6c 20 62 | 6f 72 64 65 72 20 72 65 |ontrol b|order re|
|00000610| 63 74 2e 0d 20 20 20 20 | 20 20 20 20 6d 61 78 54 |ct.. | maxT|
|00000620| 65 78 74 4c 65 6e 20 20 | 4d 61 78 69 6d 75 6d 20 |extLen |Maximum |
|00000630| 6c 65 6e 67 74 68 20 61 | 6c 6c 6f 77 65 64 20 66 |length a|llowed f|
|00000640| 6f 72 20 54 65 78 74 45 | 64 69 74 20 72 65 63 6f |or TextE|dit reco|
|00000650| 72 64 2e 0d 20 20 20 20 | 20 20 20 20 6d 6f 64 65 |rd.. | mode|
|00000660| 20 20 20 20 20 20 20 20 | 43 68 6f 6f 73 65 20 76 | |Choose v|
|00000670| 61 72 69 6f 75 73 20 54 | 65 78 74 45 64 69 74 20 |arious T|extEdit |
|00000680| 63 6f 6e 74 72 6f 6c 20 | 6f 70 74 69 6f 6e 73 2e |control |options.|
|00000690| 0d 4f 55 54 50 55 54 3a | 20 74 65 48 6e 64 6c 20 |.OUTPUT:| teHndl |
|000006a0| 20 20 20 20 20 50 6f 69 | 6e 74 65 72 20 74 6f 20 | Poi|nter to |
|000006b0| 54 45 48 61 6e 64 6c 65 | 20 74 6f 20 62 65 20 63 |TEHandle| to be c|
|000006c0| 72 65 61 74 65 64 2e 0d | 20 20 20 20 20 20 20 20 |reated..| |
|000006d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 50 61 73 73 | | Pass|
|000006e0| 20 69 6e 20 6e 69 6c 20 | 69 66 20 79 6f 75 20 64 | in nil |if you d|
|000006f0| 6f 6e d5 74 20 63 61 72 | 65 2e 0d 52 45 54 55 52 |on.t car|e..RETUR|
|00000700| 4e 3a 20 4f 53 45 72 72 | 20 20 20 20 20 20 20 52 |N: OSErr| R|
|00000710| 65 61 73 6f 6e 20 66 6f | 72 20 63 6f 6e 74 72 6f |eason fo|r contro|
|00000720| 6c 20 63 72 65 61 74 69 | 6f 6e 20 66 61 69 6c 75 |l creati|on failu|
|00000730| 72 65 2e 0d 0d 54 6f 20 | 63 72 65 61 74 65 20 61 |re...To |create a|
|00000740| 20 54 65 78 74 45 64 69 | 74 20 63 6f 6e 74 72 6f | TextEdi|t contro|
|00000750| 6c 2c 20 79 6f 75 20 6f | 6e 6c 79 20 6e 65 65 64 |l, you o|nly need|
|00000760| 20 61 20 73 69 6e 67 6c | 65 20 63 61 6c 6c 2e 20 | a singl|e call. |
|00000770| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 3a 0d 0d 20 | For exa|mple:.. |
|00000780| 20 20 20 6d 6f 64 65 20 | 3d 20 63 74 65 56 53 63 | mode |= cteVSc|
|00000790| 72 6f 6c 6c 4c 65 73 73 | 47 72 6f 77 3b 20 20 20 |rollLess|Grow; |
|000007a0| 20 20 20 54 45 52 65 63 | 6f 72 64 20 72 65 61 64 | TERec|ord read|
|000007b0| 2d 77 72 69 74 65 2c 20 | 77 69 74 68 20 76 65 72 |-write, |with ver|
|000007c0| 74 69 63 61 6c 20 73 63 | 72 6f 6c 6c 0d 20 20 20 |tical sc|roll. |
|000007d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007f0| 20 74 68 61 74 20 6c 65 | 61 76 65 73 20 73 70 61 | that le|aves spa|
|00000800| 63 65 20 66 6f 72 20 67 | 72 6f 77 20 62 6f 78 2e |ce for g|row box.|
|00000810| 0d 0d 20 20 20 20 43 54 | 45 4e 65 77 28 72 56 69 |.. CT|ENew(rVi|
|00000820| 65 77 43 74 6c 2c 20 20 | 20 20 20 20 20 20 52 65 |ewCtl, | Re|
|00000830| 73 6f 75 72 63 65 20 49 | 44 20 6f 66 20 76 69 65 |source I|D of vie|
|00000840| 77 20 63 6f 6e 74 72 6f | 6c 20 66 6f 72 20 54 65 |w contro|l for Te|
|00000850| 78 74 45 64 69 74 20 63 | 6f 6e 74 72 6f 6c 2e 0d |xtEdit c|ontrol..|
|00000860| 20 20 20 20 20 20 20 20 | 20 20 20 77 69 6e 64 6f | | windo|
|00000870| 77 2c 20 20 20 20 20 20 | 20 20 20 20 57 69 6e 64 |w, | Wind|
|00000880| 6f 77 20 74 6f 20 68 6f | 6c 64 20 54 45 52 65 63 |ow to ho|ld TERec|
|00000890| 6f 72 64 2e 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ord.. | |
|000008a0| 74 72 75 65 2c 20 20 20 | 20 20 20 20 20 20 20 20 |true, | |
|000008b0| 20 49 6e 69 74 69 61 6c | 6c 79 20 76 69 73 69 62 | Initial|ly visib|
|000008c0| 6c 65 2e 0d 20 20 20 20 | 20 20 20 20 20 20 20 26 |le.. | &|
|000008d0| 74 65 48 6e 64 6c 2c 20 | 20 20 20 20 20 20 20 20 |teHndl, | |
|000008e0| 52 65 74 75 72 6e 20 68 | 61 6e 64 6c 65 20 66 6f |Return h|andle fo|
|000008f0| 72 20 54 45 52 65 63 6f | 72 64 2e 0d 20 20 20 20 |r TEReco|rd.. |
|00000900| 20 20 20 20 20 20 20 26 | 63 74 6c 52 65 63 74 2c | &|ctlRect,|
|00000910| 20 20 20 20 20 20 20 20 | 52 65 63 74 20 66 6f 72 | |Rect for|
|00000920| 20 54 65 78 74 45 64 69 | 74 20 76 69 65 77 20 63 | TextEdi|t view c|
|00000930| 6f 6e 74 72 6f 6c 2e 0d | 20 20 20 20 20 20 20 20 |ontrol..| |
|00000940| 20 20 20 26 64 65 73 74 | 52 65 63 74 2c 20 20 20 | &dest|Rect, |
|00000950| 20 20 20 20 64 65 73 74 | 52 65 63 74 20 66 6f 72 | dest|Rect for|
|00000960| 20 54 45 52 65 63 6f 72 | 64 2e 0d 20 20 20 20 20 | TERecor|d.. |
|00000970| 20 20 20 20 20 20 26 76 | 69 65 77 52 65 63 74 2c | &v|iewRect,|
|00000980| 20 20 20 20 20 20 20 76 | 69 65 77 52 65 63 74 20 | v|iewRect |
|00000990| 66 6f 72 20 54 45 52 65 | 63 6f 72 64 2e 0d 20 20 |for TERe|cord.. |
|000009a0| 20 20 20 20 20 20 20 20 | 20 26 62 72 64 72 52 65 | | &brdrRe|
|000009b0| 63 74 2c 20 20 20 20 20 | 20 20 55 73 65 64 20 74 |ct, | Used t|
|000009c0| 6f 20 66 72 61 6d 65 20 | 61 20 62 6f 72 64 65 72 |o frame |a border|
|000009d0| 2e 0d 20 20 20 20 20 20 | 20 20 20 20 20 33 32 30 |.. | 320|
|000009e0| 30 30 2c 20 20 20 20 20 | 20 20 20 20 20 20 4d 61 |00, | Ma|
|000009f0| 78 20 73 69 7a 65 20 66 | 6f 72 20 54 45 52 65 63 |x size f|or TERec|
|00000a00| 6f 72 64 20 74 65 78 74 | 2e 0d 20 20 20 20 20 20 |ord text|.. |
|00000a10| 20 20 20 20 20 6d 6f 64 | 65 29 3b 0d 0d 54 68 65 | mod|e);..The|
|00000a20| 20 76 61 72 69 6f 75 73 | 20 63 68 6f 69 63 65 73 | various| choices|
|00000a30| 20 66 6f 72 20 74 68 65 | 20 54 65 78 74 45 64 69 | for the| TextEdi|
|00000a40| 74 20 63 6f 6e 74 72 6f | 6c 20 61 72 65 20 64 65 |t contro|l are de|
|00000a50| 66 69 6e 65 64 20 61 73 | 20 66 6f 6c 6c 6f 77 73 |fined as| follows|
|00000a60| 3a 0d 0d 23 64 65 66 69 | 6e 65 20 63 74 65 52 65 |:..#defi|ne cteRe|
|00000a70| 61 64 4f 6e 6c 79 20 20 | 20 20 20 20 20 20 20 30 |adOnly | 0|
|00000a80| 78 30 30 30 31 0d 23 64 | 65 66 69 6e 65 20 63 74 |x0001.#d|efine ct|
|00000a90| 65 48 53 63 72 6f 6c 6c | 20 20 20 20 20 20 20 20 |eHScroll| |
|00000aa0| 20 20 30 78 30 30 30 32 | 0d 23 64 65 66 69 6e 65 | 0x0002|.#define|
|00000ab0| 20 63 74 65 48 53 63 72 | 6f 6c 6c 4c 65 73 73 47 | cteHScr|ollLessG|
|00000ac0| 72 6f 77 20 20 30 78 30 | 30 30 36 0d 23 64 65 66 |row 0x0|006.#def|
|00000ad0| 69 6e 65 20 63 74 65 56 | 53 63 72 6f 6c 6c 20 20 |ine cteV|Scroll |
|00000ae0| 20 20 20 20 20 20 20 20 | 30 78 30 30 30 38 0d 23 | |0x0008.#|
|00000af0| 64 65 66 69 6e 65 20 63 | 74 65 56 53 63 72 6f 6c |define c|teVScrol|
|00000b00| 6c 4c 65 73 73 47 72 6f | 77 20 20 30 78 30 30 31 |lLessGro|w 0x001|
|00000b10| 38 0d 23 64 65 66 69 6e | 65 20 63 74 65 41 63 74 |8.#defin|e cteAct|
|00000b20| 69 76 65 20 20 20 20 20 | 20 20 20 20 20 20 30 78 |ive | 0x|
|00000b30| 30 30 32 30 0d 23 64 65 | 66 69 6e 65 20 63 74 65 |0020.#de|fine cte|
|00000b40| 4e 6f 42 6f 72 64 65 72 | 20 20 20 20 20 20 20 20 |NoBorder| |
|00000b50| 20 30 78 30 30 34 30 0d | 23 64 65 66 69 6e 65 20 | 0x0040.|#define |
|00000b60| 63 74 65 53 68 6f 77 41 | 63 74 69 76 65 20 20 20 |cteShowA|ctive |
|00000b70| 20 20 20 20 30 78 30 30 | 38 30 0d 23 64 65 66 69 | 0x00|80.#defi|
|00000b80| 6e 65 20 63 74 65 54 61 | 62 53 65 6c 65 63 74 41 |ne cteTa|bSelectA|
|00000b90| 6c 6c 20 20 20 20 20 30 | 78 30 31 30 30 0d 23 64 |ll 0|x0100.#d|
|00000ba0| 65 66 69 6e 65 20 63 74 | 65 54 77 6f 53 74 65 70 |efine ct|eTwoStep|
|00000bb0| 20 20 20 20 20 20 20 20 | 20 20 30 78 30 32 30 30 | | 0x0200|
|00000bc0| 0d 23 64 65 66 69 6e 65 | 20 63 74 65 53 63 72 6f |.#define| cteScro|
|00000bd0| 6c 6c 46 75 6c 6c 4c 69 | 6e 65 73 20 20 30 78 30 |llFullLi|nes 0x0|
|00000be0| 34 30 30 0d 23 64 65 66 | 69 6e 65 20 63 74 65 53 |400.#def|ine cteS|
|00000bf0| 74 79 6c 65 64 54 45 20 | 20 20 20 20 20 20 20 20 |tyledTE | |
|00000c00| 30 78 30 38 30 30 0d 23 | 64 65 66 69 6e 65 20 63 |0x0800.#|define c|
|00000c10| 74 65 43 65 6e 74 65 72 | 4a 75 73 74 69 66 79 20 |teCenter|Justify |
|00000c20| 20 20 20 30 78 31 30 30 | 30 0d 23 64 65 66 69 6e | 0x100|0.#defin|
|00000c30| 65 20 63 74 65 52 69 67 | 68 74 4a 75 73 74 69 66 |e cteRig|htJustif|
|00000c40| 79 20 20 20 20 20 30 78 | 32 30 30 30 0d 23 64 65 |y 0x|2000.#de|
|00000c50| 66 69 6e 65 20 63 74 65 | 4e 6f 46 61 73 74 4b 65 |fine cte|NoFastKe|
|00000c60| 79 73 20 20 20 20 20 20 | 20 30 78 34 30 30 30 0d |ys | 0x4000.|
|00000c70| 0d 63 74 65 52 65 61 64 | 4f 6e 6c 79 3a 20 20 20 |.cteRead|Only: |
|00000c80| 20 20 20 20 20 44 6f 6e | d5 74 20 61 6c 6c 6f 77 | Don|.t allow|
|00000c90| 20 65 64 69 74 69 6e 67 | 2e 20 20 57 68 65 6e 20 | editing|. When |
|00000ca0| 73 65 6c 65 63 74 65 64 | 2c 20 64 6f 6e d5 74 20 |selected|, don.t |
|00000cb0| 62 6c 69 6e 6b 20 61 20 | 63 61 72 65 74 2e 0d 20 |blink a |caret.. |
|00000cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000cd0| 20 20 20 41 6c 6c 6f 77 | 20 74 65 78 74 20 73 65 | Allow| text se|
|00000ce0| 6c 65 63 74 69 6f 6e 20 | 61 6e 64 20 63 6f 70 79 |lection |and copy|
|00000cf0| 2d 74 6f 2d 63 6c 69 70 | 62 6f 61 72 64 2e 0d 63 |-to-clip|board..c|
|00000d00| 74 65 48 53 63 72 6f 6c | 6c 3a 20 20 20 20 20 20 |teHScrol|l: |
|00000d10| 20 20 20 43 72 65 61 74 | 65 20 61 6e 64 20 6d 61 | Creat|e and ma|
|00000d20| 6e 61 67 65 20 61 20 68 | 6f 72 69 7a 6f 6e 74 61 |nage a h|orizonta|
|00000d30| 6c 20 73 63 72 6f 6c 6c | 62 61 72 20 66 6f 72 20 |l scroll|bar for |
|00000d40| 74 68 65 20 54 65 78 74 | 45 64 69 74 20 63 6f 6e |the Text|Edit con|
|00000d50| 74 72 6f 6c 2e 0d 63 74 | 65 48 53 63 72 6f 6c 6c |trol..ct|eHScroll|
|00000d60| 4c 65 73 73 47 72 6f 77 | 3a 20 43 72 65 61 74 65 |LessGrow|: Create|
|00000d70| 20 61 6e 64 20 6d 61 6e | 61 67 65 20 61 20 68 6f | and man|age a ho|
|00000d80| 72 69 7a 6f 6e 74 61 6c | 20 73 63 72 6f 6c 6c 62 |rizontal| scrollb|
|00000d90| 61 72 20 66 6f 72 20 74 | 68 65 20 54 65 78 74 45 |ar for t|he TextE|
|00000da0| 64 69 74 20 63 6f 6e 74 | 72 6f 6c 2c 0d 20 20 20 |dit cont|rol,. |
|00000db0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000dc0| 20 62 75 74 20 6c 65 61 | 76 65 20 73 70 61 63 65 | but lea|ve space|
|00000dd0| 20 66 6f 72 20 61 20 67 | 72 6f 77 49 63 6f 6e 20 | for a g|rowIcon |
|00000de0| 6f 6e 20 74 68 65 20 72 | 69 67 68 74 20 65 6e 64 |on the r|ight end|
|00000df0| 20 6f 66 20 74 68 65 20 | 73 63 72 6f 6c 6c 62 61 | of the |scrollba|
|00000e00| 72 2e 0d 63 74 65 56 53 | 63 72 6f 6c 6c 3a 20 20 |r..cteVS|croll: |
|00000e10| 20 20 20 20 20 20 20 43 | 72 65 61 74 65 20 61 6e | C|reate an|
|00000e20| 64 20 6d 61 6e 61 67 65 | 20 61 20 76 65 72 74 69 |d manage| a verti|
|00000e30| 63 61 6c 20 73 63 72 6f | 6c 6c 62 61 72 20 66 6f |cal scro|llbar fo|
|00000e40| 72 20 74 68 65 20 54 65 | 78 74 45 64 69 74 20 63 |r the Te|xtEdit c|
|00000e50| 6f 6e 74 72 6f 6c 2e 0d | 63 74 65 56 53 63 72 6f |ontrol..|cteVScro|
|00000e60| 6c 6c 4c 65 73 73 47 72 | 6f 77 3a 20 43 72 65 61 |llLessGr|ow: Crea|
|00000e70| 74 65 20 61 6e 64 20 6d | 61 6e 61 67 65 20 61 20 |te and m|anage a |
|00000e80| 76 65 72 74 69 63 61 6c | 20 73 63 72 6f 6c 6c 62 |vertical| scrollb|
|00000e90| 61 72 20 66 6f 72 20 74 | 68 65 20 54 65 78 74 45 |ar for t|he TextE|
|00000ea0| 64 69 74 20 63 6f 6e 74 | 72 6f 6c 2c 0d 20 20 20 |dit cont|rol,. |
|00000eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ec0| 20 62 75 74 20 6c 65 61 | 76 65 20 73 70 61 63 65 | but lea|ve space|
|00000ed0| 20 66 6f 72 20 61 20 67 | 72 6f 77 49 63 6f 6e 20 | for a g|rowIcon |
|00000ee0| 6f 6e 20 74 68 65 20 62 | 6f 74 74 6f 6d 20 65 6e |on the b|ottom en|
|00000ef0| 64 20 6f 66 20 74 68 65 | 20 73 63 72 6f 6c 6c 62 |d of the| scrollb|
|00000f00| 61 72 2e 0d 63 74 65 41 | 63 74 69 76 65 3a 20 20 |ar..cteA|ctive: |
|00000f10| 20 20 20 20 20 20 20 20 | 4d 61 6b 65 20 74 68 69 | |Make thi|
|00000f20| 73 20 74 68 65 20 69 6e | 69 74 69 61 6c 6c 79 20 |s the in|itially |
|00000f30| 61 63 74 69 76 65 20 63 | 6f 6e 74 72 6f 6c 20 66 |active c|ontrol f|
|00000f40| 6f 72 20 74 68 65 20 77 | 69 6e 64 6f 77 2e 0d 63 |or the w|indow..c|
|00000f50| 74 65 4e 6f 42 6f 72 64 | 65 72 3a 20 20 20 20 20 |teNoBord|er: |
|00000f60| 20 20 20 42 79 20 64 65 | 66 61 75 6c 74 2c 20 79 | By de|fault, y|
|00000f70| 6f 75 20 67 65 74 20 61 | 20 62 6f 72 64 65 72 20 |ou get a| border |
|00000f80| 61 72 6f 75 6e 64 20 74 | 68 65 20 54 65 78 74 45 |around t|he TextE|
|00000f90| 64 69 74 20 63 6f 6e 74 | 72 6f 6c 2e 20 20 54 6f |dit cont|rol. To|
|00000fa0| 20 74 75 72 6e 20 74 68 | 69 73 0d 20 20 20 20 20 | turn th|is. |
|00000fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6f | | o|
|00000fc0| 66 66 2c 20 73 65 74 20 | 74 68 69 73 20 62 69 74 |ff, set |this bit|
|00000fd0| 2e 0d 63 74 65 53 68 6f | 77 41 63 74 69 76 65 3a |..cteSho|wActive:|
|00000fe0| 20 20 20 20 20 20 57 68 | 65 6e 20 74 68 65 20 63 | Wh|en the c|
|00000ff0| 6f 6e 74 72 6f 6c 20 69 | 73 20 61 63 74 69 76 65 |ontrol i|s active|
|00001000| 2c 20 73 68 6f 77 20 74 | 68 61 74 20 69 74 20 69 |, show t|hat it i|
|00001010| 73 20 62 79 20 64 72 61 | 77 69 6e 67 20 61 20 73 |s by dra|wing a s|
|00001020| 65 6c 65 63 74 69 6f 6e | 0d 20 20 20 20 20 20 20 |election|. |
|00001030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 62 6f 72 | | bor|
|00001040| 64 65 72 20 61 72 6f 75 | 6e 64 20 74 68 65 20 63 |der arou|nd the c|
|00001050| 6f 6e 74 72 6f 6c 2e 20 | 20 54 68 69 73 20 69 73 |ontrol. | This is|
|00001060| 20 74 68 65 20 6e 65 77 | 20 37 2e 30 20 68 75 6d | the new| 7.0 hum|
|00001070| 61 6e 2d 69 6e 74 65 72 | 66 61 63 65 0d 20 20 20 |an-inter|face. |
|00001080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001090| 20 6d 65 74 68 6f 64 20 | 6f 66 20 73 68 6f 77 69 | method |of showi|
|000010a0| 6e 67 20 77 68 69 63 68 | 20 63 6f 6e 74 72 6f 6c |ng which| control|
|000010b0| 20 69 73 20 61 63 74 69 | 76 65 2e 20 20 28 54 68 | is acti|ve. (Th|
|000010c0| 69 73 20 63 61 6e 20 62 | 65 20 61 6e 20 69 6d 70 |is can b|e an imp|
|000010d0| 6f 72 74 61 6e 74 0d 20 | 20 20 20 20 20 20 20 20 |ortant. | |
|000010e0| 20 20 20 20 20 20 20 20 | 20 20 20 69 6e 64 69 63 | | indic|
|000010f0| 61 74 6f 72 20 62 65 63 | 61 75 73 65 20 69 66 20 |ator bec|ause if |
|00001100| 79 6f 75 20 68 61 76 65 | 20 72 65 61 64 4f 6e 6c |you have| readOnl|
|00001110| 79 20 54 65 78 74 45 64 | 69 74 20 63 6f 6e 74 72 |y TextEd|it contr|
|00001120| 6f 6c 73 2c 20 74 68 65 | 79 20 64 6f 6e d5 74 0d |ols, the|y don.t.|
|00001130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001140| 20 20 20 20 68 61 76 65 | 20 61 20 62 6c 69 6e 6b | have| a blink|
|00001150| 69 6e 67 20 63 61 72 65 | 74 2e 20 20 49 66 20 74 |ing care|t. If t|
|00001160| 68 65 79 20 61 6c 73 6f | 20 64 6f 6e d5 74 20 68 |hey also| don.t h|
|00001170| 61 76 65 20 61 6e 79 20 | 74 65 78 74 20 73 65 6c |ave any |text sel|
|00001180| 65 63 74 65 64 2c 0d 20 | 20 20 20 20 20 20 20 20 |ected,. | |
|00001190| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 65 72 65 | | there|
|000011a0| 20 77 69 6c 6c 20 62 65 | 20 6e 6f 20 69 6e 64 69 | will be| no indi|
|000011b0| 63 61 74 69 6f 6e 20 74 | 68 61 74 20 69 74 20 69 |cation t|hat it i|
|000011c0| 73 20 74 68 65 20 61 63 | 74 69 76 65 20 63 6f 6e |s the ac|tive con|
|000011d0| 74 72 6f 6c 2e 0d 63 74 | 65 54 61 62 53 65 6c 65 |trol..ct|eTabSele|
|000011e0| 63 74 41 6c 6c 3a 20 20 | 20 20 57 68 65 6e 20 75 |ctAll: | When u|
|000011f0| 73 69 6e 67 20 49 73 43 | 74 6c 45 76 65 6e 74 20 |sing IsC|tlEvent |
|00001200| 28 64 69 73 63 75 73 73 | 65 64 20 75 6e 64 65 72 |(discuss|ed under|
|00001210| 20 22 21 20 75 73 69 6e | 67 20 43 74 6c 48 61 6e | "! usin|g CtlHan|
|00001220| 64 6c 65 72 2e 63 22 29 | 2c 0d 20 20 20 20 20 20 |dler.c")|,. |
|00001230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 61 | | ta|
|00001240| 62 20 63 68 61 6e 67 65 | 73 20 74 68 65 20 61 63 |b change|s the ac|
|00001250| 74 69 76 65 20 54 65 78 | 74 45 64 69 74 20 28 6f |tive Tex|tEdit (o|
|00001260| 72 20 4c 69 73 74 29 20 | 63 6f 6e 74 72 6f 6c 2e |r List) |control.|
|00001270| 20 20 57 68 65 6e 20 61 | 20 54 65 78 74 45 64 69 | When a| TextEdi|
|00001280| 74 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t. | |
|00001290| 20 20 20 20 20 20 63 6f | 6e 74 72 6f 6c 20 69 73 | co|ntrol is|
|000012a0| 20 6d 61 64 65 20 61 63 | 74 69 76 65 2c 20 73 6f | made ac|tive, so|
|000012b0| 6d 65 74 69 6d 65 73 20 | 69 74 20 69 73 20 64 65 |metimes |it is de|
|000012c0| 73 69 72 61 62 6c 65 20 | 74 6f 20 69 6e 69 74 69 |sirable |to initi|
|000012d0| 61 6c 6c 79 20 73 65 6c | 65 63 74 0d 20 20 20 20 |ally sel|ect. |
|000012e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012f0| 61 6c 6c 20 6f 66 20 74 | 68 65 20 74 65 78 74 20 |all of t|he text |
|00001300| 66 6f 72 20 74 68 65 20 | 75 73 65 72 2e 20 20 53 |for the |user. S|
|00001310| 65 74 74 69 6e 67 20 74 | 68 69 73 20 62 69 74 20 |etting t|his bit |
|00001320| 61 63 63 6f 6d 70 6c 69 | 73 68 65 73 20 74 68 69 |accompli|shes thi|
|00001330| 73 2e 0d 63 74 65 54 77 | 6f 53 74 65 70 3a 20 20 |s..cteTw|oStep: |
|00001340| 20 20 20 20 20 20 20 57 | 68 65 6e 20 75 73 69 6e | W|hen usin|
|00001350| 67 20 49 73 43 74 6c 45 | 76 65 6e 74 2c 20 79 6f |g IsCtlE|vent, yo|
|00001360| 75 20 6d 61 79 20 77 61 | 6e 74 20 74 68 65 20 69 |u may wa|nt the i|
|00001370| 6e 69 74 69 61 6c 20 63 | 6c 69 63 6b 20 6f 6e 20 |nitial c|lick on |
|00001380| 61 20 54 65 78 74 45 64 | 69 74 0d 20 20 20 20 20 |a TextEd|it. |
|00001390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 | | c|
|000013a0| 6f 6e 74 72 6f 6c 20 74 | 6f 20 6a 75 73 74 20 73 |ontrol t|o just s|
|000013b0| 65 6c 65 63 74 20 74 68 | 65 20 63 6f 6e 74 72 6f |elect th|e contro|
|000013c0| 6c 2c 20 6f 72 20 79 6f | 75 20 6d 61 79 20 77 69 |l, or yo|u may wi|
|000013d0| 73 68 20 74 68 65 20 63 | 6c 69 63 6b 20 74 6f 20 |sh the c|lick to |
|000013e0| 73 74 61 72 74 0d 20 20 | 20 20 20 20 20 20 20 20 |start. | |
|000013f0| 20 20 20 20 20 20 20 20 | 20 20 74 72 61 63 6b 69 | | tracki|
|00001400| 6e 67 20 69 6e 20 61 64 | 64 69 74 69 6f 6e 20 74 |ng in ad|dition t|
|00001410| 6f 20 73 65 6c 65 63 74 | 69 6e 67 20 74 68 65 20 |o select|ing the |
|00001420| 63 6f 6e 74 72 6f 6c 2e | 20 20 54 68 65 20 74 72 |control.| The tr|
|00001430| 61 63 6b 69 6e 67 20 69 | 73 0d 20 20 20 20 20 20 |acking i|s. |
|00001440| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 6f | | co|
|00001450| 6e 73 69 64 65 72 65 64 | 20 74 68 65 20 73 65 63 |nsidered| the sec|
|00001460| 6f 6e 64 20 73 74 65 70 | 2c 20 73 6f 20 62 79 20 |ond step|, so by |
|00001470| 73 65 74 74 69 6e 67 20 | 74 68 69 73 20 62 69 74 |setting |this bit|
|00001480| 2c 20 79 6f 75 20 77 69 | 6c 6c 20 67 65 74 0d 20 |, you wi|ll get. |
|00001490| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000014a0| 20 20 20 74 72 61 63 6b | 69 6e 67 20 6f 66 20 74 | track|ing of t|
|000014b0| 68 65 20 63 6f 6e 74 72 | 6f 6c 20 6f 6e 20 74 68 |he contr|ol on th|
|000014c0| 65 20 69 6e 69 74 69 61 | 6c 20 63 6c 69 63 6b 2e |e initia|l click.|
|000014d0| 0d 63 74 65 53 63 72 6f | 6c 6c 46 75 6c 6c 4c 69 |.cteScro|llFullLi|
|000014e0| 6e 65 73 3a 20 54 68 69 | 73 20 64 6f 65 73 20 61 |nes: Thi|s does a|
|000014f0| 73 20 69 74 20 73 6f 75 | 6e 64 73 2c 20 62 75 74 |s it sou|nds, but|
|00001500| 20 6f 6e 6c 79 20 69 66 | 20 74 68 65 20 54 65 78 | only if| the Tex|
|00001510| 74 45 64 69 74 20 63 6f | 6e 74 72 6f 6c 20 69 73 |tEdit co|ntrol is|
|00001520| 6e d5 74 20 73 74 79 6c | 65 64 2e 0d 63 74 65 53 |n.t styl|ed..cteS|
|00001530| 74 79 6c 65 64 54 45 3a | 20 20 20 20 20 20 20 20 |tyledTE:| |
|00001540| 49 66 20 79 6f 75 20 64 | 6f 6e d5 74 20 6e 65 65 |If you d|on.t nee|
|00001550| 64 20 73 74 79 6c 65 73 | 20 66 6f 72 20 74 68 69 |d styles| for thi|
|00001560| 73 20 54 65 78 74 45 64 | 69 74 20 63 6f 6e 74 72 |s TextEd|it contr|
|00001570| 6f 6c 2c 20 6c 65 61 76 | 65 20 74 68 69 73 20 62 |ol, leav|e this b|
|00001580| 69 74 20 6f 66 66 2e 0d | 63 74 65 43 65 6e 74 65 |it off..|cteCente|
|00001590| 72 4a 75 73 74 69 66 79 | 3a 20 20 20 41 73 20 69 |rJustify|: As i|
|000015a0| 74 20 73 6f 75 6e 64 73 | 2e 0d 63 74 65 52 69 67 |t sounds|..cteRig|
|000015b0| 68 74 4a 75 73 74 69 66 | 79 3a 20 20 20 20 41 73 |htJustif|y: As|
|000015c0| 20 69 74 20 73 6f 75 6e | 64 73 2e 0d 63 74 65 4e | it soun|ds..cteN|
|000015d0| 6f 46 61 73 74 4b 65 79 | 73 3a 20 20 20 20 20 20 |oFastKey|s: |
|000015e0| 54 68 65 20 66 61 73 74 | 2d 6b 65 79 73 20 66 65 |The fast|-keys fe|
|000015f0| 61 74 75 72 65 20 61 6c | 6c 6f 77 73 20 74 68 65 |ature al|lows the|
|00001600| 20 54 65 78 74 45 64 69 | 74 20 63 6f 6e 74 72 6f | TextEdi|t contro|
|00001610| 6c 20 74 6f 20 63 68 65 | 63 6b 20 74 68 65 20 4f |l to che|ck the O|
|00001620| 53 45 76 65 6e 74 0d 20 | 20 20 20 20 20 20 20 20 |SEvent. | |
|00001630| 20 20 20 20 20 20 20 20 | 20 20 20 71 75 65 75 65 | | queue|
|00001640| 20 74 6f 20 73 65 65 20 | 69 66 20 74 68 65 72 65 | to see |if there|
|00001650| 20 69 73 20 61 6e 6f 74 | 68 65 72 20 6b 65 79 20 | is anot|her key |
|00001660| 65 76 65 6e 74 2e 20 20 | 49 66 20 74 68 65 72 65 |event. |If there|
|00001670| 20 69 73 2c 20 69 74 20 | 77 69 6c 6c 0d 20 20 20 | is, it |will. |
|00001680| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001690| 20 68 61 6e 64 6c 65 20 | 69 74 20 62 65 66 6f 72 | handle |it befor|
|000016a0| 65 20 72 65 74 75 72 6e | 69 6e 67 20 63 6f 6e 74 |e return|ing cont|
|000016b0| 72 6f 6c 20 74 6f 20 74 | 68 65 20 61 70 70 6c 69 |rol to t|he appli|
|000016c0| 63 61 74 69 6f 6e 2e 20 | 20 54 68 69 73 20 6c 6f |cation. | This lo|
|000016d0| 63 61 6c 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |cal. | |
|000016e0| 20 20 20 20 20 20 20 20 | 65 76 65 6e 74 20 70 72 | |event pr|
|000016f0| 6f 63 65 73 73 69 6e 67 | 20 61 6c 6c 6f 77 73 20 |ocessing| allows |
|00001700| 61 20 67 72 65 61 74 20 | 73 70 65 65 64 20 69 6e |a great |speed in|
|00001710| 63 72 65 61 73 65 20 69 | 6e 20 54 65 78 74 45 64 |crease i|n TextEd|
|00001720| 69 74 20 70 65 72 66 6f | 72 6d 61 6e 63 65 2c 0d |it perfo|rmance,.|
|00001730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001740| 20 20 20 20 65 73 70 65 | 63 69 61 6c 6c 79 20 6f | espe|cially o|
|00001750| 6e 20 73 6c 6f 77 65 72 | 20 4d 61 63 73 2e 20 20 |n slower| Macs. |
|00001760| 53 6f 6d 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |Some app|lication|
|00001770| 73 20 77 69 6c 6c 20 77 | 61 6e 74 20 74 6f 20 69 |s will w|ant to i|
|00001780| 6e 68 69 62 69 74 0d 20 | 20 20 20 20 20 20 20 20 |nhibit. | |
|00001790| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 20 | | this |
|000017a0| 62 65 68 61 76 69 6f 72 | 2e 20 20 53 65 74 20 74 |behavior|. Set t|
|000017b0| 68 69 73 20 62 69 74 20 | 69 66 20 79 6f 75 20 64 |his bit |if you d|
|000017c0| 6f 2e 0d 0d 53 69 6d 70 | 6c 79 20 69 6e 69 74 69 |o...Simp|ly initi|
|000017d0| 61 6c 69 7a 65 20 63 74 | 6c 52 65 63 74 2c 20 64 |alize ct|lRect, d|
|000017e0| 65 73 74 52 65 63 74 2c | 20 76 69 65 77 52 65 63 |estRect,| viewRec|
|000017f0| 74 2c 20 61 6e 64 20 62 | 72 64 72 52 65 63 74 20 |t, and b|rdrRect |
|00001800| 61 70 70 72 6f 70 72 69 | 61 74 65 6c 79 2c 20 61 |appropri|ately, a|
|00001810| 6e 64 0d 74 68 65 6e 20 | 63 61 6c 6c 20 43 54 45 |nd.then |call CTE|
|00001820| 4e 65 77 20 28 77 68 69 | 63 68 20 73 74 61 6e 64 |New (whi|ch stand|
|00001830| 73 20 66 6f 72 20 43 6f | 6e 74 72 6f 6c 20 54 45 |s for Co|ntrol TE|
|00001840| 4e 65 77 29 2e 20 20 49 | 66 20 74 65 48 6e 64 6c |New). I|f teHndl|
|00001850| 20 69 73 20 72 65 74 75 | 72 6e 65 64 0d 6e 69 6c | is retu|rned.nil|
|00001860| 2c 20 74 68 65 6e 20 43 | 54 45 4e 65 77 20 66 61 |, then C|TENew fa|
|00001870| 69 6c 65 64 2e 20 20 4f | 74 68 65 72 77 69 73 65 |iled. O|therwise|
|00001880| 2c 20 79 6f 75 20 6e 6f | 77 20 68 61 76 65 20 61 |, you no|w have a|
|00001890| 20 54 65 78 74 45 64 69 | 74 20 63 6f 6e 74 72 6f | TextEdi|t contro|
|000018a0| 6c 20 69 6e 20 74 68 65 | 0d 77 69 6e 64 6f 77 2e |l in the|.window.|
|000018b0| 20 20 49 66 20 69 74 20 | 66 61 69 6c 73 2c 20 69 | If it |fails, i|
|000018c0| 74 20 61 6c 73 6f 20 72 | 65 74 75 72 6e 73 20 61 |t also r|eturns a|
|000018d0| 6e 20 65 72 72 6f 72 20 | 73 74 61 74 69 6e 67 20 |n error |stating |
|000018e0| 77 68 79 20 69 74 20 66 | 61 69 6c 65 64 0d 28 6d |why it f|ailed.(m|
|000018f0| 65 6d 46 75 6c 6c 45 72 | 72 20 6f 72 20 72 65 73 |emFullEr|r or res|
|00001900| 4e 6f 74 46 6f 75 6e 64 | 29 2e 0d 0d 4e 4f 54 45 |NotFound|)...NOTE|
|00001910| 3a 20 20 20 54 68 65 72 | 65 20 69 73 20 61 20 54 |: Ther|e is a T|
|00001920| 65 78 74 45 64 69 74 20 | 62 75 67 20 28 6e 6f 20 |extEdit |bug (no |
|00001930| 77 61 79 21 21 29 20 73 | 75 63 68 20 74 68 61 74 |way!!) s|uch that|
|00001940| 20 79 6f 75 20 6d 61 79 | 20 6e 65 65 64 20 74 6f | you may| need to|
|00001950| 20 73 65 74 20 74 68 65 | 0d 20 20 20 20 20 20 20 | set the|. |
|00001960| 20 76 69 65 77 52 65 63 | 74 20 72 69 67 68 74 20 | viewRec|t right |
|00001970| 65 64 67 65 20 32 20 62 | 69 67 67 65 72 20 74 68 |edge 2 b|igger th|
|00001980| 61 6e 20 74 68 65 20 72 | 69 67 68 74 20 65 64 67 |an the r|ight edg|
|00001990| 65 20 6f 66 20 64 65 73 | 74 52 65 63 74 2e 20 20 |e of des|tRect. |
|000019a0| 49 66 20 79 6f 75 0d 20 | 20 20 20 20 20 20 20 64 |If you. | d|
|000019b0| 6f 20 6e 6f 74 20 64 6f | 20 74 68 69 73 2c 20 74 |o not do| this, t|
|000019c0| 68 65 6e 20 74 68 65 72 | 65 20 77 69 6c 6c 20 62 |hen ther|e will b|
|000019d0| 65 20 73 6f 6d 65 20 63 | 6c 69 70 70 69 6e 67 20 |e some c|lipping |
|000019e0| 6f 6e 20 74 68 65 20 72 | 69 67 68 74 20 65 64 67 |on the r|ight edg|
|000019f0| 65 20 69 6e 0d 20 20 20 | 20 20 20 20 20 73 6f 6d |e in. | som|
|00001a00| 65 20 63 61 73 65 73 2e | 20 20 4f 66 20 63 6f 75 |e cases.| Of cou|
|00001a10| 72 73 65 2c 20 79 6f 75 | 20 6d 61 79 20 77 61 6e |rse, you| may wan|
|00001a20| 74 20 74 68 69 73 2e 20 | 20 59 6f 75 20 6d 61 79 |t this. | You may|
|00001a30| 20 77 61 6e 74 20 68 6f | 72 69 7a 6f 6e 74 61 6c | want ho|rizontal|
|00001a40| 0d 20 20 20 20 20 20 20 | 20 73 63 72 6f 6c 6c 69 |. | scrolli|
|00001a50| 6e 67 2c 20 61 6e 64 20 | 74 68 65 72 65 66 6f 72 |ng, and |therefor|
|00001a60| 65 20 79 6f 75 20 77 6f | 75 6c 64 20 77 61 6e 74 |e you wo|uld want|
|00001a70| 20 74 68 65 20 64 65 73 | 74 52 65 63 74 20 73 75 | the des|tRect su|
|00001a80| 62 73 74 61 6e 74 69 61 | 6c 6c 79 0d 20 20 20 20 |bstantia|lly. |
|00001a90| 20 20 20 20 6c 61 72 67 | 65 72 20 74 68 61 6e 20 | larg|er than |
|00001aa0| 74 68 65 20 76 69 65 77 | 52 65 63 74 2e 20 20 49 |the view|Rect. I|
|00001ab0| 66 20 79 6f 75 20 64 6f | 6e d5 74 20 77 61 6e 74 |f you do|n.t want|
|00001ac0| 20 68 6f 72 69 7a 6f 6e | 74 61 6c 20 73 63 72 6f | horizon|tal scro|
|00001ad0| 6c 6c 69 6e 67 2c 0d 20 | 20 20 20 20 20 20 20 74 |lling,. | t|
|00001ae0| 68 65 6e 20 79 6f 75 20 | 70 72 6f 62 61 62 6c 79 |hen you |probably|
|00001af0| 20 64 6f 6e d5 74 20 77 | 61 6e 74 20 61 6e 79 20 | don.t w|ant any |
|00001b00| 63 6c 69 70 70 69 6e 67 | 20 68 6f 72 69 7a 6f 6e |clipping| horizon|
|00001b10| 74 61 6c 6c 79 2c 20 61 | 6e 64 20 74 68 65 72 65 |tally, a|nd there|
|00001b20| 66 6f 72 65 0d 20 20 20 | 20 20 20 20 20 79 6f 75 |fore. | you|
|00001b30| 20 77 69 6c 6c 20 6e 65 | 65 64 20 74 6f 20 73 65 | will ne|ed to se|
|00001b40| 74 20 64 65 73 74 52 65 | 63 74 2e 72 69 67 68 74 |t destRe|ct.right|
|00001b50| 20 32 20 6c 65 73 73 20 | 74 68 61 6e 20 76 69 65 | 2 less |than vie|
|00001b60| 77 52 65 63 74 2e 72 69 | 67 68 74 2e 0d 0d 0d 49 |wRect.ri|ght....I|
|00001b70| 66 20 74 68 65 20 43 54 | 45 4e 65 77 20 63 61 6c |f the CT|ENew cal|
|00001b80| 6c 20 73 75 63 63 65 65 | 64 73 2c 20 79 6f 75 20 |l succee|ds, you |
|00001b90| 74 68 65 6e 20 68 61 76 | 65 20 61 20 54 65 78 74 |then hav|e a Text|
|00001ba0| 45 64 69 74 20 63 6f 6e | 74 72 6f 6c 20 69 6e 20 |Edit con|trol in |
|00001bb0| 79 6f 75 72 0d 77 69 6e | 64 6f 77 2e 20 20 49 74 |your.win|dow. It|
|00001bc0| 20 77 69 6c 6c 20 62 65 | 20 61 75 74 6f 6d 61 74 | will be| automat|
|00001bd0| 69 63 61 6c 6c 79 20 64 | 69 73 70 6f 73 65 64 20 |ically d|isposed |
|00001be0| 6f 66 20 77 68 65 6e 20 | 79 6f 75 20 63 6c 6f 73 |of when |you clos|
|00001bf0| 65 20 74 68 65 20 77 69 | 6e 64 6f 77 2e 0d 49 66 |e the wi|ndow..If|
|00001c00| 20 79 6f 75 20 64 6f 6e | d5 74 20 77 61 68 74 20 | you don|.t waht |
|00001c10| 74 68 69 73 20 74 6f 20 | 68 61 70 70 65 6e 2c 20 |this to |happen, |
|00001c20| 74 68 65 6e 20 79 6f 75 | 20 63 61 6e 20 64 65 74 |then you| can det|
|00001c30| 61 63 68 20 69 74 20 66 | 72 6f 6d 20 74 68 65 0d |ach it f|rom the.|
|00001c40| 76 69 65 77 20 63 6f 6e | 74 72 6f 6c 20 77 68 69 |view con|trol whi|
|00001c50| 63 68 20 6f 77 6e 73 20 | 69 74 2e 20 20 54 6f 20 |ch owns |it. To |
|00001c60| 64 6f 20 74 68 69 73 2c | 20 79 6f 75 20 77 6f 75 |do this,| you wou|
|00001c70| 6c 64 20 74 6f 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |ld to th|e follow|
|00001c80| 69 6e 67 3a 0d 0d 20 20 | 20 20 76 69 65 77 43 74 |ing:.. | viewCt|
|00001c90| 6c 20 3d 20 43 54 45 56 | 69 65 77 46 72 6f 6d 54 |l = CTEV|iewFromT|
|00001ca0| 45 28 74 68 65 54 65 78 | 74 45 64 69 74 48 6e 64 |E(theTex|tEditHnd|
|00001cb0| 6c 29 3b 0d 20 20 20 20 | 69 66 20 28 76 69 65 77 |l);. |if (view|
|00001cc0| 43 74 6c 29 20 53 65 74 | 43 52 65 66 43 6f 6e 28 |Ctl) Set|CRefCon(|
|00001cd0| 76 69 65 77 43 74 6c 2c | 20 6e 69 6c 29 3b 0d 0d |viewCtl,| nil);..|
|00001ce0| 54 68 65 20 76 69 65 77 | 20 63 6f 6e 74 72 6f 6c |The view| control|
|00001cf0| 20 6b 65 65 70 73 20 61 | 20 72 65 66 65 72 65 6e | keeps a| referen|
|00001d00| 63 65 20 74 6f 20 74 68 | 65 20 54 45 52 65 63 6f |ce to th|e TEReco|
|00001d10| 72 64 20 69 6e 20 74 68 | 65 20 72 65 66 43 6f 6e |rd in th|e refCon|
|00001d20| 2e 0d 49 66 20 74 68 65 | 20 72 65 66 43 6f 6e 20 |..If the| refCon |
|00001d30| 69 73 20 63 6c 65 61 72 | 65 64 2c 20 74 68 65 6e |is clear|ed, then|
|00001d40| 20 74 68 65 20 76 69 65 | 77 20 63 6f 6e 74 72 6f | the vie|w contro|
|00001d50| 6c 20 64 6f 65 73 20 6e | 6f 74 68 69 6e 67 2e 20 |l does n|othing. |
|00001d60| 20 53 6f 2c 20 61 6c 6c | 20 74 68 61 74 0d 69 73 | So, all| that.is|
|00001d70| 20 6e 65 65 64 65 64 20 | 74 6f 20 64 65 74 61 63 | needed |to detac|
|00001d80| 68 20 61 20 54 45 52 65 | 63 6f 72 64 20 66 72 6f |h a TERe|cord fro|
|00001d90| 6d 20 61 20 76 69 65 77 | 20 63 6f 6e 74 72 6f 6c |m a view| control|
|00001da0| 20 69 73 20 74 6f 20 73 | 65 74 20 74 68 65 0d 76 | is to s|et the.v|
|00001db0| 69 65 77 20 63 6f 6e 74 | 72 6f 6c d5 73 20 72 65 |iew cont|rol.s re|
|00001dc0| 66 43 6f 6e 20 6e 69 6c | 2e 20 20 4e 6f 77 20 69 |fCon nil|. Now i|
|00001dd0| 66 20 79 6f 75 20 63 6c | 6f 73 65 20 74 68 65 20 |f you cl|ose the |
|00001de0| 77 69 6e 64 6f 77 2c 20 | 79 6f 75 20 77 69 6c 6c |window, |you will|
|00001df0| 20 73 74 69 6c 6c 0d 68 | 61 76 65 20 74 68 65 20 | still.h|ave the |
|00001e00| 54 45 52 65 63 6f 72 64 | 2e 0d 0d 0d 54 6f 20 72 |TERecord|....To r|
|00001e10| 65 6d 6f 76 65 20 61 20 | 54 65 78 74 45 64 69 74 |emove a |TextEdit|
|00001e20| 20 63 6f 6e 74 72 6f 6c | 20 63 6f 6d 70 6c 65 74 | control| complet|
|00001e30| 65 6c 79 20 66 72 6f 6d | 20 61 20 77 69 6e 64 6f |ely from| a windo|
|00001e40| 77 2c 20 79 6f 75 20 6d | 61 6b 65 20 6f 6e 65 20 |w, you m|ake one |
|00001e50| 63 61 6c 6c 3a 0d 0d 20 | 20 20 20 43 54 45 44 69 |call:.. | CTEDi|
|00001e60| 73 70 6f 73 65 28 74 68 | 65 54 65 78 74 45 64 69 |spose(th|eTextEdi|
|00001e70| 74 48 6e 64 6c 29 3b 0d | 0d 54 68 69 73 20 64 69 |tHndl);.|.This di|
|00001e80| 73 70 6f 73 65 73 20 6f | 66 20 74 68 65 20 54 45 |sposes o|f the TE|
|00001e90| 52 65 63 6f 72 64 2c 20 | 74 68 65 20 76 69 65 77 |Record, |the view|
|00001ea0| 20 63 6f 6e 74 72 6f 6c | 2c 20 61 6e 64 20 61 6e | control|, and an|
|00001eb0| 79 20 73 63 72 6f 6c 6c | 62 61 72 0d 63 6f 6e 74 |y scroll|bar.cont|
|00001ec0| 72 6f 6c 73 20 74 68 61 | 74 20 77 65 72 65 20 63 |rols tha|t were c|
|00001ed0| 72 65 61 74 65 64 20 77 | 68 65 6e 20 74 68 65 20 |reated w|hen the |
|00001ee0| 54 65 78 74 45 64 69 74 | 20 63 6f 6e 74 72 6f 6c |TextEdit| control|
|00001ef0| 20 77 61 73 20 63 72 65 | 61 74 65 64 20 77 69 74 | was cre|ated wit|
|00001f00| 68 0d 74 68 65 20 63 61 | 6c 6c 20 43 54 45 4e 65 |h.the ca|ll CTENe|
|00001f10| 77 2e 0d 0d 0d 45 76 65 | 6e 74 73 20 66 6f 72 20 |w....Eve|nts for |
|00001f20| 54 45 52 65 63 6f 72 64 | 20 61 72 65 20 68 61 6e |TERecord| are han|
|00001f30| 64 6c 65 64 20 6e 65 61 | 72 6c 79 20 61 75 74 6f |dled nea|rly auto|
|00001f40| 6d 61 74 69 63 61 6c 6c | 79 2e 20 20 59 6f 75 20 |maticall|y. You |
|00001f50| 63 61 6e 0d 6d 61 6b 65 | 20 6f 6e 65 20 6f 66 20 |can.make| one of |
|00001f60| 33 20 63 61 6c 6c 73 3a | 0d 0d 20 20 20 20 43 54 |3 calls:|.. CT|
|00001f70| 45 43 6c 69 63 6b 28 77 | 69 6e 64 6f 77 2c 20 65 |EClick(w|indow, e|
|00001f80| 76 65 6e 74 50 74 72 2c | 20 26 61 63 74 69 6f 6e |ventPtr,| &action|
|00001f90| 29 3b 0d 20 20 20 20 43 | 54 45 45 76 65 6e 74 28 |);. C|TEEvent(|
|00001fa0| 77 69 6e 64 6f 77 2c 20 | 65 76 65 6e 74 50 74 72 |window, |eventPtr|
|00001fb0| 2c 20 26 61 63 74 69 6f | 6e 29 3b 0d 20 20 20 20 |, &actio|n);. |
|00001fc0| 43 54 45 4b 65 79 28 77 | 69 6e 64 6f 77 2c 20 65 |CTEKey(w|indow, e|
|00001fd0| 76 65 6e 74 50 74 72 29 | 3b 0d 0d 49 6e 20 65 61 |ventPtr)|;..In ea|
|00001fe0| 63 68 20 63 61 73 65 2c | 20 69 66 20 74 68 65 20 |ch case,| if the |
|00001ff0| 65 76 65 6e 74 20 77 61 | 73 20 68 61 6e 64 6c 65 |event wa|s handle|
|00002000| 64 2c 20 6e 6f 6e 2d 7a | 65 72 6f 20 69 73 20 72 |d, non-z|ero is r|
|00002010| 65 74 75 72 6e 65 64 2e | 20 20 43 54 45 45 76 65 |eturned.| CTEEve|
|00002020| 6e 74 20 73 69 6d 70 6c | 79 0d 63 61 6c 6c 73 20 |nt simpl|y.calls |
|00002030| 65 69 74 68 65 72 20 43 | 54 45 43 6c 69 63 6b 20 |either C|TEClick |
|00002040| 6f 72 20 43 54 45 4b 65 | 79 2c 20 77 68 69 63 68 |or CTEKe|y, which|
|00002050| 65 76 65 72 20 69 73 20 | 61 70 70 72 6f 70 72 69 |ever is |appropri|
|00002060| 61 74 65 2e 0d 0d 41 6e | 6f 74 68 65 72 20 63 61 |ate...An|other ca|
|00002070| 6c 6c 20 79 6f 75 20 77 | 69 6c 6c 20 77 61 6e 74 |ll you w|ill want|
|00002080| 20 74 6f 20 75 73 65 20 | 69 73 20 43 54 45 45 64 | to use |is CTEEd|
|00002090| 69 74 4d 65 6e 75 2e 20 | 20 54 68 69 73 20 69 73 |itMenu. | This is|
|000020a0| 20 75 73 65 64 20 74 6f | 20 73 65 74 20 74 68 65 | used to| set the|
|000020b0| 0d 73 74 61 74 65 20 6f | 66 20 63 75 74 2f 63 6f |.state o|f cut/co|
|000020c0| 70 79 2f 70 61 73 74 65 | 2f 63 6c 65 61 72 20 66 |py/paste|/clear f|
|000020d0| 6f 72 20 54 65 78 74 45 | 64 69 74 20 63 6f 6e 74 |or TextE|dit cont|
|000020e0| 72 6f 6c 73 2e 20 20 49 | 74 20 63 68 65 63 6b 73 |rols. I|t checks|
|000020f0| 20 74 68 65 20 61 63 74 | 69 76 65 0d 63 6f 6e 74 | the act|ive.cont|
|00002100| 72 6f 6c 20 74 6f 20 73 | 65 65 20 69 66 20 74 65 |rol to s|ee if te|
|00002110| 78 74 20 69 73 20 73 65 | 6c 65 63 74 65 64 2c 20 |xt is se|lected, |
|00002120| 69 66 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 20 69 |if the c|ontrol i|
|00002130| 73 20 72 65 61 64 2d 6f | 6e 6c 79 2c 20 65 74 63 |s read-o|nly, etc|
|00002140| 2e 0d 42 61 73 65 64 20 | 6f 6e 20 74 68 69 73 20 |..Based |on this |
|00002150| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2c 20 69 74 20 |informat|ion, it |
|00002160| 73 65 74 73 20 63 75 74 | 2f 63 6f 70 79 2f 70 61 |sets cut|/copy/pa|
|00002170| 73 74 65 2f 63 6c 65 61 | 72 20 65 69 74 68 65 72 |ste/clea|r either|
|00002180| 20 61 63 74 69 76 65 0d | 6f 72 20 69 6e 61 63 74 | active.|or inact|
|00002190| 69 76 65 2e 20 20 49 66 | 20 61 6e 79 20 6d 65 6e |ive. If| any men|
|000021a0| 75 20 69 74 65 6d 73 20 | 61 72 65 20 73 65 74 20 |u items |are set |
|000021b0| 61 63 74 69 76 65 2c 20 | 69 74 20 72 65 74 75 72 |active, |it retur|
|000021c0| 6e 73 20 74 72 75 65 2e | 0d 0d 0d 4f 6e 65 20 6d |ns true.|...One m|
|000021d0| 6f 72 65 20 68 69 67 68 | 2d 6c 65 76 65 6c 20 63 |ore high|-level c|
|000021e0| 61 6c 6c 20 69 73 20 43 | 54 45 55 6e 64 6f 2e 20 |all is C|TEUndo. |
|000021f0| 20 49 6e 20 72 65 73 70 | 6f 6e 73 65 20 74 6f 20 | In resp|onse to |
|00002200| 61 6e 20 75 6e 64 6f 20 | 6d 65 6e 75 20 69 74 65 |an undo |menu ite|
|00002210| 6d 0d 62 65 69 6e 67 20 | 73 65 6c 65 63 74 65 64 |m.being |selected|
|00002220| 20 62 79 20 74 68 65 20 | 75 73 65 72 2c 20 6a 75 | by the |user, ju|
|00002230| 73 74 20 63 61 6c 6c 20 | 43 54 45 55 6e 64 6f 2c |st call |CTEUndo,|
|00002240| 20 61 6e 64 20 74 68 65 | 20 65 64 69 74 73 20 74 | and the| edits t|
|00002250| 68 65 20 75 73 65 72 0d | 68 61 73 20 6d 61 64 65 |he user.|has made|
|00002260| 20 77 69 6c 6c 20 62 65 | 20 75 6e 64 6f 6e 65 2e | will be| undone.|
|00002270| 20 20 28 54 68 69 73 20 | 69 6e 63 6c 75 64 65 73 | (This |includes|
|00002280| 20 75 6e 64 6f 69 6e 67 | 20 61 6e 20 75 6e 64 6f | undoing| an undo|
|00002290| 2e 29 0d 0d 0d 54 68 65 | 20 6c 61 73 74 20 68 69 |.)...The| last hi|
|000022a0| 67 68 2d 6c 65 76 65 6c | 20 63 61 6c 6c 20 66 6f |gh-level| call fo|
|000022b0| 72 20 6d 61 6e 61 67 69 | 6e 67 20 74 68 65 20 65 |r managi|ng the e|
|000022c0| 64 69 74 20 6d 65 6e 75 | 20 69 73 20 43 54 45 43 |dit menu| is CTEC|
|000022d0| 6c 69 70 62 6f 61 72 64 | 2e 20 20 43 61 6c 6c 20 |lipboard|. Call |
|000022e0| 69 74 0d 77 68 65 6e 20 | 79 6f 75 20 77 61 6e 74 |it.when |you want|
|000022f0| 20 74 6f 20 64 6f 20 61 | 20 63 75 74 2f 63 6f 70 | to do a| cut/cop|
|00002300| 79 2f 70 61 73 74 65 2f | 63 6c 65 61 72 20 66 6f |y/paste/|clear fo|
|00002310| 72 20 74 68 65 20 61 63 | 74 69 76 65 20 54 65 78 |r the ac|tive Tex|
|00002320| 74 45 64 69 74 20 63 6f | 6e 74 72 6f 6c 2e 0d 54 |tEdit co|ntrol..T|
|00002330| 68 65 20 76 61 6c 75 65 | 20 74 6f 20 70 61 73 73 |he value| to pass|
|00002340| 20 69 73 20 61 73 20 66 | 6f 6c 6c 6f 77 73 3a 0d | is as f|ollows:.|
|00002350| 0d 20 20 20 20 32 3a 20 | 63 75 74 0d 20 20 20 20 |. 2: |cut. |
|00002360| 33 3a 20 63 6f 70 79 0d | 20 20 20 20 34 3a 20 70 |3: copy.| 4: p|
|00002370| 61 73 74 65 0d 20 20 20 | 20 35 3a 20 63 6c 65 61 |aste. | 5: clea|
|00002380| 72 0d 0d 54 68 65 73 65 | 20 61 72 65 20 74 68 65 |r..These| are the|
|00002390| 20 73 61 6d 65 20 76 61 | 6c 75 65 73 20 79 6f 75 | same va|lues you|
|000023a0| 20 77 6f 75 6c 64 20 70 | 61 73 73 20 74 6f 20 61 | would p|ass to a|
|000023b0| 20 44 41 20 66 6f 72 20 | 74 68 65 73 65 20 61 63 | DA for |these ac|
|000023c0| 74 69 6f 6e 73 2e 20 0d | 0d 0d 02 46 00 1d 00 00 |tions. .|...F....|
|000023d0| 00 00 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|000023e0| 00 00 00 00 0e 3f 00 0b | 00 09 00 04 05 00 00 09 |.....?..|........|
|000023f0| 00 00 00 00 00 00 00 00 | 0e 49 00 0b 00 09 00 04 |........|.I......|
|00002400| 00 00 00 09 00 00 00 00 | 00 00 00 00 0f 9c 00 0b |........|........|
|00002410| 00 09 00 04 05 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00002420| 0f a6 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|00002430| 00 00 00 00 18 de 00 0b | 00 09 00 04 05 00 00 09 |........|........|
|00002440| 00 00 00 00 00 00 00 00 | 18 eb 00 0b 00 09 00 04 |........|........|
|00002450| 00 00 00 09 00 00 00 00 | 00 00 00 00 1a a5 00 0b |........|........|
|00002460| 00 09 00 04 05 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00002470| 1a af 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|00002480| 00 00 00 00 1b b8 00 0b | 00 09 00 04 05 00 00 09 |........|........|
|00002490| 00 00 00 00 00 00 00 00 | 1b c0 00 0b 00 09 00 04 |........|........|
|000024a0| 00 00 00 09 00 00 00 00 | 00 00 00 00 1b e1 00 0b |........|........|
|000024b0| 00 09 00 04 05 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|000024c0| 1b e9 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|000024d0| 00 00 00 00 1c 0a 00 0b | 00 09 00 04 05 00 00 09 |........|........|
|000024e0| 00 00 00 00 00 00 00 00 | 1c 10 00 0b 00 09 00 04 |........|........|
|000024f0| 00 00 00 09 00 00 00 00 | 00 00 00 00 1c 64 00 0b |........|.....d..|
|00002500| 00 09 00 04 05 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00002510| 1c 6c 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |.l......|........|
|00002520| 00 00 00 00 1c 81 00 0b | 00 09 00 04 05 00 00 09 |........|........|
|00002530| 00 00 00 00 00 00 00 00 | 1c 89 00 0b 00 09 00 04 |........|........|
|00002540| 00 00 00 09 00 00 00 00 | 00 00 00 00 1c 8d 00 0b |........|........|
|00002550| 00 09 00 04 05 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00002560| 1c 93 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|00002570| 00 00 00 00 1c d5 00 0b | 00 09 00 04 05 00 00 09 |........|........|
|00002580| 00 00 00 00 00 00 00 00 | 1c e0 00 0b 00 09 00 04 |........|........|
|00002590| 00 00 00 09 00 00 00 00 | 00 00 00 00 1e 31 00 0b |........|.....1..|
|000025a0| 00 09 00 04 05 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|000025b0| 1e 38 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |.8......|........|
|000025c0| 00 00 00 00 1e 82 00 0b | 00 09 00 04 05 00 00 09 |........|........|
|000025d0| 00 00 00 00 00 00 00 00 | 1e 89 00 0b 00 09 00 04 |........|........|
|000025e0| 00 00 00 09 00 00 00 00 | 00 00 00 00 1f 16 00 0b |........|........|
|000025f0| 00 09 00 04 05 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00002600| 1f 22 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |."......|........|
|00002610| 00 00 | |.. | |
+--------+-------------------------+-------------------------+--------+--------+